package org.gfids.trivial.gui;

import java.awt.GraphicsConfiguration;
import java.awt.HeadlessException;
import java.awt.event.ActionListener;

import javax.swing.JFrame;
import org.gfids.trivial.model.Cuestion;

@SuppressWarnings("serial")
public abstract class AbstractGui extends JFrame{
	
	public AbstractGui() throws HeadlessException {
		super();
	}

	public AbstractGui(GraphicsConfiguration gc) {
		super(gc);		
	}

	public AbstractGui(String title) throws HeadlessException {
		super(title);
	}

	public AbstractGui(String title, GraphicsConfiguration gc) {
		super(title, gc);
	}
	
	// Atención: De momento hay uno sólo y para un botón, nada más
	public abstract void addListener(ActionListener l);
	
	public abstract Cuestion getNewCuestion();

}
